package cn.iocoder.yudao.module.resource.controller.admin.audiotext.vo;

import cn.iocoder.yudao.module.resource.controller.admin.keyword.vo.KeyWordRespVO;
import cn.iocoder.yudao.module.resource.controller.admin.tag.vo.TagRespVO;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 文本编辑 Response VO")
@Data
@ExcelIgnoreUnannotated
public class AudioTextRespVO {

    @Schema(description = "唯一id", requiredMode = Schema.RequiredMode.REQUIRED, example = "31646")
    @ExcelProperty("唯一id")
    private Integer id;

    @Schema(description = "文本内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("文本内容")
    private String content;

    @Schema(description = "标签列表")
    @ExcelProperty("标签列表")
    private List<TagRespVO> tagList;

    @Schema(description = "关键字列表")
    @ExcelProperty("关键字列表")
    private List<KeyWordRespVO> keyworldList;
    @Schema(description = "关联音频类型：1，默认，默认时不做任何关联，2，问答式需关键字回复")
    private int relationType;
    @Schema(description = "关联类型的内容")
    private List<AudioTextRelation> audioTextRelationList;
    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}